﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 平台病区患者主管信息维护
    /// </summary>
    public partial class WardPatientPrincipal
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public long RegNo { get; set; }
        /// <summary>
        /// 患者所在平台病区ID
        /// </summary>
        public int WardId { get; set; }
        /// <summary>
        /// 主管类型 1科室 2医生
        /// </summary>
        public int PrincipalType { get; set; }
        /// <summary>
        /// 主管科室ID/主管医生ID
        /// </summary>
        public int PrincipalId { get; set; }
        /// <summary>
        /// 院区ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 有效状态 1有效 0无效
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
